﻿@using INFSWA02.Models.StateModels
@model INFSWA02.Models.StateModels.Order

@{
    ViewBag.Title = "NewOrder";
}

<h2>NewOrder</h2>

<table>
    <tr>
        <td>Id:</td>
        <td>@Model.Id</td>
    </tr>
    <tr>
        <td>Customer:</td>
        <td>@Model.Customer</td>
    </tr>
    <tr>
        <td>Date:</td>
        <td>@Model.OrderedDate</td>
    </tr>
    <tr>
        <td>Status:</td>
        <td>@Model.Status()</td>
    </tr>
    <tr>
        <td>Can be canceled:</td>
        <td>@Model.CanCancel()</td>
    </tr>
    <tr>
        <td>Can be shipped:</td>
        <td>@Model.CanShip()</td>
    </tr>
</table>